<?php

use yii\db\Migration;

class m171214_064759_alert_cate extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%cate}}','description',$this->text()->defaultValue(null)->comment('分类介绍'));
    }

    public function safeDown()
    {
        $this->dropColumn('{{%cate}}','description');
    }
}
